<?php
/*
 * jQuery File Upload Plugin PHP Example 5.14
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2010, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/

error_reporting(E_ALL | E_STRICT);
error_reporting(E_ALL ^ E_NOTICE);
require('UploadHandler.php');
$upload_handler = new UploadHandler(
		array(
				'delete_type'=>'POST',
				'thumbnail' => array(
						//'crop' => true,
						'max_width' => 170,
						'max_height' => 140
				)));
$files=$upload_handler->get();

print_r();